@extends('home.layouts._center')
@push('css')
    <link rel="stylesheet" type="text/css" href="{{asset('org/home/css')}}/index.css">
    <link rel="stylesheet" type="text/css" href="{{asset('org/home/css')}}/ziy.css">
    <script type="text/javascript" src="{{asset('org/home/js')}}/jquery-1.11.1.min.js"></script>
@endpush
@section('content')
    <div class="mod_main">
        <div class="jib_xinx_kuang">
            <div class="wt">
                <ul>
                    <li class="dangq_hongx"><a href="{{route('home.center.edit','inform')}}">会员信息</a></li>
                    <li><a href="{{route('home.center.edit','face')}}">设置头像</a></li>
                </ul>
            </div>
            <form action="{{route('home.center.updateInform',auth()->user())}}" method="post">
                @csrf
                <div class="wd">
                    <div class="user_set">
                        <div class="item_meic">
                            <span class="label_meic"><em>*</em> 用户名：</span>
                            <div class="fl_e">
                                <div><strong> <input type="text" class="itxt_succ" maxlength="20" name="name" value="{{auth()->user()->name}}"></strong></div>
                            </div>
                        </div>
                        <div class="item_meic">
                            <span class="label_meic"><em>*</em> 登录名：</span>
                            <div class="fl_e">
                                <input type="text" class="itxt_succ" maxlength="20"  name="nickname" value="{{auth()->user()->name}}">
                                <span class="ftx03">可用于登录，请牢记哦~</span>
                            </div>
                        </div>
                        <div class="item_meic">
                            <span class="label_meic"><em>*</em> 昵称：</span>
                            <div class="fl_e">
                                <input type="text" class="itxt_succ" maxlength="20"  name="nickname" value="{{auth()->user()->nickname}}">
                            </div>
                        </div>
                        <div class="item_meic">
                            <span class="label_meic">性别：</span>
                            <div class="fl_e">
                                <input type="radio" name="sex" class="jdradio" value="男" {{auth()->user()->sex == '男'?'checked':''}}>
                                <label class="mr10">男</label>
                                <input type="radio" name="sex" class="jdradio" value="女" {{auth()->user()->sex == '女'?'checked':''}}>
                                <label class="mr10">女</label>
                                <input type="radio" name="sex" class="jdradio" value="保密" {{auth()->user()->sex == '保密'?'checked':''}}>
                                <label class="mr10">保密</label>
                            </div>
                        </div>
                        <div class="item_meic">
                            <span class="label_meic">邮箱：</span>
                            <div class="fl_e">
                                <input type="text" class="itxt_succ" maxlength="20"  name="email" value="{{auth()->user()->email}}">
                                <span class="ftx03">已验证</span>
                            </div>
                        </div>
                        <div class="item_meic">
                            <span class="label_meic">详细地址：</span>
                            <div class="fl_e">
                                <textarea name="address"  cols="20" rows="5">{{auth()->user()->address}}</textarea>
                            </div>
                        </div>
                        <div class="item_meic">
                            <span class="label_meic">联系方式：</span>
                            <div class="fl_e">
                                <input type="text" class="itxt_succ"  name="phone" value="{{auth()->user()->phone}}">
                            </div>
                        </div>
                        <div class="item_meic">
                            <span class="label_meic"> </span>
                            <div class="fl_e">
                                <input type="submit" value="保存" class="savebtn">
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
@endsection
